package com.spring.self.tag.imports.service.impl;

import com.spring.self.tag.imports.dao.UserDao;
import com.spring.self.tag.imports.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao;
    
    // getter和setter
    public UserDao getUserDao() { return userDao; }
    public void setUserDao(UserDao userDao) { this.userDao = userDao; }
    
    @Override
    public void registerUser() {
        System.out.println("Registering user...");
        userDao.saveUser();
    }
}